#ifndef MAIN_WINDOW_H
#define MAIN_WINDOW_H

#include <QMainWindow>
#include <QTabWidget>
#include <QMenuBar>
#include <QStatusBar>
#include "core/editor/code_editor.h"

class MainWindow : public QMainWindow {
    Q_OBJECT
    
public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
    
private:
    void createMenus();
    void createToolBars();
    void createStatusBar();
    void createEditor();
    
    QTabWidget *tabWidget;
    CodeEditor *currentEditor;
    
    // 菜单项
    QMenu *fileMenu;
    QMenu *editMenu;
    QMenu *buildMenu;
    QMenu *helpMenu;
};

#endif // MAIN_WINDOW_H